<?
require_once("../../resource/security/security.php");

$module_id	= 58;
$module_name= "Quảng cáo";
//Check user login...
checkLogged();
//Check access module...
if(checkAccessModule($module_id) != 1) redirect($fs_denypath);

//Declare prameter when insert data
$fs_table					= "advertising";
$id_field					= "adv_id";
$name_field					= "adv_title";
$break_page					= "{---break---}";
$fs_insert_logo  			= 0;
$fs_fieldupload  			= "adv_picture";
$fs_filepath   			= "../../../pictures/quangcao/";
$fs_extension   			= "gif,jpg,jpe,jpeg,png,swf";
$fs_filesize   			= 1000;
$follow_category			= true;
$array_type					= array(1=>"Banner Ảnh"
										, 2=>"Banner Flash"
										, 3=>"Banner HTML"
										);
//array("Banner top",0 , 0) array[0] = tieu de vi tri, array[1] = width, array[2] = height
$array_position			= array( 1=>array("Trang chi tiết - Phải", 220, 200),
							     2=>array("Banner Header", 1366, 290),
							     3=>array('Banner top', 730,90)
								);
?>